package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 订单信息对象 dd_order
 *
 * @author ruoyi
 * @date 2020-02-19
 */
public class DdOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** UUID */
    private String uuid;

    /** 订单发起人id */
    @Excel(name = "订单发起人id")
    private Long fromId;

    /** 发起人实名 */
    @Excel(name = "发起人实名")
    private String fromName;

    /** 起送地点 */
    @Excel(name = "起送地点")
    private String begin;

    /** $column.columnComment */
    @Excel(name = "起送地点")
    private String beginLat;

    /** $column.columnComment */
    @Excel(name = "起送地点")
    private String beginLng;

    /** 目的地 */
    @Excel(name = "目的地")
    private String end;

    /** $column.columnComment */
    @Excel(name = "目的地")
    private String endLat;

    /** $column.columnComment */
    @Excel(name = "目的地")
    private String endLng;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String endName;

    /** 骑手id */
    @Excel(name = "骑手id")
    private Long riderId;

    /** 骑手姓名 */
    @Excel(name = "骑手姓名")
    private String riderName;

    /** 送货路程 */
    @Excel(name = "送货路程")
    private Double distance;

    /** 价格 */
    @Excel(name = "价格")
    private Double money;

    /** 规格 */
    @Excel(name = "规格")
    private String specs;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String pay;

    /** 起送时间 */
    @Excel(name = "起送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 需要购买的商品 */
    @Excel(name = "需要购买的商品")
    private String commodity;

    /** 本单评价 */
    @Excel(name = "本单评价")
    private Integer star;

    /** 是否完成（0进行中 1完成 2未支付 3待接单） */
    @Excel(name = "是否完成", readConverterExp = "0=进行中,1=完成,2=未支付,3=待接单")
    private String status;

    /** 订单类型（0帮我送 1帮我取 2帮我买） */
    @Excel(name = "订单类型", readConverterExp = "0=帮我送,1=帮我取,2=帮我买")
    private String orderType;

    /** 预计到达时间 */
    @Excel(name = "预计到达时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date estimatedTime;

    /** 实际到达时间 */
    @Excel(name = "实际到达时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualTime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String re1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String re2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String re3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String re4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String re5;

    /** 支付方订单号 */
    @Excel(name = "支付方订单号")
    private String transactionRefNo;

    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public String getUuid()
    {
        return uuid;
    }
    public void setFromId(Long fromId)
    {
        this.fromId = fromId;
    }

    public Long getFromId()
    {
        return fromId;
    }
    public void setFromName(String fromName)
    {
        this.fromName = fromName;
    }

    public String getFromName()
    {
        return fromName;
    }
    public void setBegin(String begin)
    {
        this.begin = begin;
    }

    public String getBegin()
    {
        return begin;
    }
    public void setBeginLat(String beginLat)
    {
        this.beginLat = beginLat;
    }

    public String getBeginLat()
    {
        return beginLat;
    }
    public void setBeginLng(String beginLng)
    {
        this.beginLng = beginLng;
    }

    public String getBeginLng()
    {
        return beginLng;
    }
    public void setEnd(String end)
    {
        this.end = end;
    }

    public String getEnd()
    {
        return end;
    }
    public void setEndLat(String endLat)
    {
        this.endLat = endLat;
    }

    public String getEndLat()
    {
        return endLat;
    }
    public void setEndLng(String endLng)
    {
        this.endLng = endLng;
    }

    public String getEndLng()
    {
        return endLng;
    }
    public void setEndName(String endName)
    {
        this.endName = endName;
    }

    public String getEndName()
    {
        return endName;
    }
    public void setRiderId(Long riderId)
    {
        this.riderId = riderId;
    }

    public Long getRiderId()
    {
        return riderId;
    }
    public void setRiderName(String riderName)
    {
        this.riderName = riderName;
    }

    public String getRiderName()
    {
        return riderName;
    }
    public void setDistance(Double distance)
    {
        this.distance = distance;
    }

    public Double getDistance()
    {
        return distance;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setSpecs(String specs)
    {
        this.specs = specs;
    }

    public String getSpecs()
    {
        return specs;
    }
    public void setPay(String pay)
    {
        this.pay = pay;
    }

    public String getPay()
    {
        return pay;
    }
    public void setBeginTime(Date beginTime)
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime()
    {
        return beginTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setCommodity(String commodity)
    {
        this.commodity = commodity;
    }

    public String getCommodity()
    {
        return commodity;
    }
    public void setStar(Integer star)
    {
        this.star = star;
    }

    public Integer getStar()
    {
        return star;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setOrderType(String orderType)
    {
        this.orderType = orderType;
    }

    public String getOrderType()
    {
        return orderType;
    }
    public void setEstimatedTime(Date estimatedTime)
    {
        this.estimatedTime = estimatedTime;
    }

    public Date getEstimatedTime()
    {
        return estimatedTime;
    }
    public void setActualTime(Date actualTime)
    {
        this.actualTime = actualTime;
    }

    public Date getActualTime()
    {
        return actualTime;
    }
    public void setRe1(String re1)
    {
        this.re1 = re1;
    }

    public String getRe1()
    {
        return re1;
    }
    public void setRe2(String re2)
    {
        this.re2 = re2;
    }

    public String getRe2()
    {
        return re2;
    }
    public void setRe3(String re3)
    {
        this.re3 = re3;
    }

    public String getRe3()
    {
        return re3;
    }
    public void setRe4(String re4)
    {
        this.re4 = re4;
    }

    public String getRe4()
    {
        return re4;
    }
    public void setRe5(String re5)
    {
        this.re5 = re5;
    }

    public String getRe5()
    {
        return re5;
    }
    public void setTransactionRefNo(String transactionRefNo)
    {
        this.transactionRefNo = transactionRefNo;
    }

    public String getTransactionRefNo()
    {
        return transactionRefNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("uuid", getUuid())
                .append("fromId", getFromId())
                .append("fromName", getFromName())
                .append("begin", getBegin())
                .append("beginLat", getBeginLat())
                .append("beginLng", getBeginLng())
                .append("end", getEnd())
                .append("endLat", getEndLat())
                .append("endLng", getEndLng())
                .append("endName", getEndName())
                .append("riderId", getRiderId())
                .append("riderName", getRiderName())
                .append("distance", getDistance())
                .append("money", getMoney())
                .append("specs", getSpecs())
                .append("pay", getPay())
                .append("beginTime", getBeginTime())
                .append("endTime", getEndTime())
                .append("commodity", getCommodity())
                .append("star", getStar())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("orderType", getOrderType())
                .append("estimatedTime", getEstimatedTime())
                .append("actualTime", getActualTime())
                .append("re1", getRe1())
                .append("re2", getRe2())
                .append("re3", getRe3())
                .append("re4", getRe4())
                .append("re5", getRe5())
                .append("transactionRefNo", getTransactionRefNo())
                .append("remark", getRemark())
                .toString();
    }
}